package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linkhub.oms.common.enums.mp.DataStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * @ClassName TemporaryCodeEntity
 * @Description: com.linkhub.oms.entity
 * @Author: Jaycle
 * @CreateDate: 2025/5/26 15:48
 * @Version: 1.0
 */
@Data
@TableName("t_temporary_code")
@ApiModel(value = "TemporaryCodeEntity对象", description = "临时code表")
public class TemporaryCodeEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long fid;

    @ApiModelProperty(value = "原始code")
    @TableField("Fsource_code")
    private String sourceCode;

    @ApiModelProperty(value = "临时code")
    @TableField("Ftemporary_code")
    private String temporaryCode;

    @ApiModelProperty(value = "数据状态：1-有效；0-无效")
    @TableField("Fdata_status")
    private DataStatusEnum dataStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private Timestamp createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private Timestamp updateTime;
}
